<script>
console.log(JSON.stringify({
  numberOfEntries: window.localStorage.length,
  testValue: window.localStorage.getItem('test')
}));
</script>
